Skip to content

FTP#9

Open
Qwsafex wants to merge 24 commits into
masterfrom
FTP
Open

FTP#9
Qwsafex wants to merge 24 commits into
masterfrom
FTP

Conversation

@Qwsafex

@Qwsafex Qwsafex commented Apr 27, 2017

Copy link
Copy Markdown
Owner

No description provided.

}
WritableMessage message = new SmallWritableMessage(channel, data);
//noinspection StatementWithEmptyBody
while (!message.write());

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

пустые фигурные скобки всё равно лучше писать, чисто для читаемости


@Override
public WritableMessage generateMessage(@NotNull SocketChannel channel) {
return new SmallWritableMessage(channel, data);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а если в каталоге будет миллион файлов? :)

@@ -0,0 +1,4 @@
package PACKAGE_NAME;

public class TestFile {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

а где тесты то?
-1

@jzuken

jzuken commented May 19, 2017

Copy link
Copy Markdown

java -jar ../ftp-client-console-1.0-SNAPSHOT.jar
heh
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1
at client.ClientConsoleApp.main(ClientConsoleApp.java:21)

ну хоть бы сказало, чего оно от меня хочет что ли
-0.5

и как понять, куда коннектиться? сервер никакого номера порта мне не сказал

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants